﻿using project.B12.application.Views.Setting;
using software.Common.MVVM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace project.B12.application.ViewModels.Setting
{
    public class DBDataViewModel:ObservableObject
    {
        private FrameworkElement _currentBacteriaView;
        public FrameworkElement CurrentBacteriaView
        {
            get { return _currentBacteriaView; }
            set
            {
                _currentBacteriaView= value;
                this.RaisePropertyChanged();
            }
        }

        private FrameworkElement _currentMedicineView;
        public FrameworkElement CurrentMedicineView
        {
            get { return _currentMedicineView; }
            set
            {
                _currentMedicineView = value;
                this.RaisePropertyChanged();
            }
        }

        private FrameworkElement _currentSIRView;
        public FrameworkElement CurrentSIRView
        {
            get { return _currentSIRView; }
            set
            {
                _currentSIRView = value;
                this.RaisePropertyChanged();
            }
        }

        public DBDataViewModel()
        {
            CurrentBacteriaView = new BacteriaView();
            CurrentMedicineView = new MedicineView();
            CurrentSIRView = new SIRView();
        }
    }
}
